package com.quectel.core.module.partyeducationtraining.dto;

import com.quectel.core.module.partybuilding.dto.PartyOrganizationDto;
import com.quectel.core.module.partybuilding.dto.PartyPersonDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author ryan
 * @email ryan.ran@quectel.com
 * @date 2023/06/15 18:56
 */
@Data
@Schema
public class TrainingExperienceDto implements Serializable {

    /**
    * 
    */
    @Schema(description = "")
    private Long id;

    /**
    * 租户id
    */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
    * 党组织id
    */
    @Schema(description = "党组织id")
    private Long partyId;

    /**
    * 课程id
    */
    @Schema(description = "课程id")
    private Long trainingId;

    /**
    * 评论人员id
    */
    @Schema(description = "评论人员id")
    private Long partyPersonId;

    /**
     * 心得标题
     */
    @Schema(description = "心得标题")
    private String title;

    /**
    * 评价内容
    */
    @Schema(description = "评价内容")
    private String content;

    /**
    * 评论时间
    */
    @Schema(description = "评论时间")
    private Date createTime;

    /************非数据库字段 start ************/
    @Schema(description = "党组织信息")
    private PartyOrganizationDto party;
    @Schema(description = "课程信息")
    private TrainingDto training;
    @Schema(description = "人员信息")
    private PartyPersonDto partyPerson;
    /************非数据库字段 end **************/
}
